package com.share.service.oa.org;

import java.util.HashMap;

import com.share.bean.oa.org.EmpAccount;

public interface EmployeeLoginLicenceManager {
	
	/**
	 * 验证员工登陆
	 * @param empAcction 登陆账号
	 * @param empPassword 登陆密码
	 * @return
	 * @throws Exception
	 */
	public EmpAccount checkEmpLoginManager(String empAcction,String empPassword) throws Exception ;
	
	/**
	 * 验证员工的操作权限
	 * @param empList 员工的权限组
	 * @param valUrl 对某个URL进行验证
	 * @return
	 * @throws RuntimeException
	 */
	public String validateLicenceManager(HashMap<String,Object> map,String valUrl) throws Exception ;

	/**
	 * 检查账号存不存在
	 * @param accountParam
	 * @return
	 * @throws Exception
	 */
	public boolean checkAccountExistManager(String accountParam) throws Exception ;
	
	
	public boolean updateEmpPwdManager(String pwd,int id) throws Exception ;
}
